home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / resource / X11 / lib / app-defaults / system.idlde < prev   
Encoding:
Text File  |  1997-07-08  |  6.8 KB  |  156 lines

  1. !
  2. ! system.idlde is the system default version of the user resource file
  3. ! (.idlde). If $HOME/.idlde doesn't exist first time you call Idlde,
  4. ! resources from this file are loaded, and saved into your $HOME/.idlde
  5. ! first time you Quit Idlde session.
  6. ! You may modify/delete the Macros user menu items and Tool buttons in Toolbar
  7. ! by Selecting Macros/Edit dialog.
  8. ! You may further customize Idlde using File/Preferences dialog.
  9. !
  10. ! Macros User Menu Items
  11. !
  12. ! The Macros menu is user customizable. Idlde looks for a
  13. ! resource named macrosListUser. Its value  supplies the resource names
  14. ! of the additional menu items to be added to the Macros menu.
  15. ! This allows user defined menu items to be added to Idlde.
  16. ! The few menu items defined below are default user menu items, which
  17. ! intend to make calling real editors like emacs and vi, and other tools easy.
  18. !
  19. ! The idlCommand resource is used to define an IDL command that gets
  20. ! entered into the input command stream when the mebu item is
  21. ! selected or button is pressed.
  22. ! You can use % escapes similar to printf(3) to include certain
  23. ! types of information into the command:
  24. !
  25. !    %S - The text for the current selection.
  26. !    %F - The filename associated with the currently visible
  27. !         View Panel.
  28. !    %P - The full path filename associated with the currently visible
  29. !         View Panel.
  30. !       %N - The base name of the filename (without path a suffix).
  31. !       %B - The base name of the filename (without path, but with a suffix)
  32. !    %L - the line number with the current insertion point.
  33. !    %% - inserts %
  34. !
  35. ! Note. If you are using Emacs, XEmacs you can use idl-mode
  36. !       (ftp://fermi.jhuapl.edu/pub/idl_emacs/idl.el)
  37. !       for convenient editing of IDL files.
  38. !
  39.  
  40. idlde*menubar*macrosMenu*macrosListUser:    printvar helpvar insight demo Xemacs gnuclient emacsXwin emacsXterm emacsclient viXterm
  41. !
  42. idlde*menubar*macrosMenu*printvar*labelString:    Print Variable
  43. idlde*menubar*macrosMenu*printvar*mnemonic:    P
  44. idlde*menubar*macrosMenu*printvar*idlCommand:    PRINT,%S
  45. idlde*menubar*macrosMenu*printvar*hint.text:    Print the selected variable in the Output Log.
  46. !
  47. idlde*menubar*macrosMenu*helpvar*labelString:    Help On Variable
  48. idlde*menubar*macrosMenu*helpvar*mnemonic:    H
  49. idlde*menubar*macrosMenu*helpvar*idlCommand:    HELP,%S,/STRUCT
  50. idlde*menubar*macrosMenu*helpvar*hint.text:    Help on the selected variable in the Output Log.
  51. idlde*menubar*macrosMenu*insight*labelString:    Insight
  52. idlde*menubar*macrosMenu*insight*mnemonic:    I
  53. idlde*menubar*macrosMenu*insight*idlCommand:    Insight
  54. idlde*menubar*macrosMenu*insight*hint.text:    Run Insight Application.
  55. !
  56. idlde*menubar*macrosMenu*demo*labelString:    IDL Demo
  57. idlde*menubar*macrosMenu*demo*mnemonic:        D
  58. idlde*menubar*macrosMenu*demo*idlCommand:    Demo
  59. idlde*menubar*macrosMenu*demo*hint.text:    Run IDL Demo.
  60. !
  61. idlde*menubar*macrosMenu*Xemacs*labelString:    File in XEmacs
  62. idlde*menubar*macrosMenu*Xemacs*idlCommand:    SPAWN,'xemacs +%L %P &'
  63. idlde*menubar*macrosMenu*Xemacs*hint.text:    Run XEmacs in the separate window.
  64. !
  65. ! Note. For gnuclient to work, gnuclient must be installed in your path,
  66. !       and gnuserv must be enabled in you .emacs (put (gnuserv-start) in your
  67. !       .emacs).
  68. !
  69. idlde*menubar*macrosMenu*gnuclient*labelString:    File in running XEmacs
  70. idlde*menubar*macrosMenu*gnuclient*idlCommand:    SPAWN, 'gnuclient +%L %P &'
  71. idlde*menubar*macrosMenu*gnuclient*hint.text:    Display source file in the currently running Xemacs.
  72. !
  73. idlde*menubar*macrosMenu*emacsXwin*labelString:    File in Emacs (X Window)
  74. idlde*menubar*macrosMenu*emacsXwin*idlCommand:    SPAWN, 'emacs +%L %P &'
  75. idlde*menubar*macrosMenu*emacsXwin*hint.text:    Run Emacs in the separate window.
  76. !
  77. idlde*menubar*macrosMenu*emacsXterm*labelString:    File in Emacs (Xterm)
  78. idlde*menubar*macrosMenu*emacsXterm*idlCommand:    SPAWN, 'xterm -e emacs -nw +%L %P &'
  79. idlde*menubar*macrosMenu*emacsXterm*hint.text: File in Emacs in the Xterm window.
  80. !
  81. ! Note. For emacsclient to work, emacsclient must be installed in your path,
  82. !       and emacs server must be enabled in you .emacs
  83. !       (put (load "server.el") (server-start) in your .emacs).
  84. !
  85. idlde*menubar*macrosMenu*emacsclient*labelString: File in running Emacs
  86. idlde*menubar*macrosMenu*emacsclient*idlCommand:    SPAWN, 'emacsclient +%L %P &'
  87. idlde*menubar*macrosMenu*emacsclient*hint.text: Display source file in the currently running Emacs.
  88. !
  89. idlde*menubar*macrosMenu*viXterm*labelString:    File in vi (Xterm)
  90. idlde*menubar*macrosMenu*viXterm*idlCommand:    SPAWN, 'xterm -e vi +%L %P &'
  91. idlde*menubar*macrosMenu*viXterm*hint.text:    Run vi in the Xterm window.
  92. !
  93. ! Toolbar User Macro Buttons
  94. !
  95. ! The idlButtonsUser resource allows you to add the control buttons, and
  96. ! supplies their resource names. These resource names are then used
  97. ! to specify additional details about the button, such as its label or pixmap,
  98. ! the IDL command it enters, and the status message displayed in the
  99. ! status bar, when mouse pointers enters the button.
  100. ! The few Macro Buttons defined below are default user Macro Buttons.
  101. !
  102. ! To add a new button to Idlde, you must:
  103. !
  104. !    1) Add a new name to the idlButtonsUser list.
  105. !          The buttons are created in the order specified.
  106. !
  107. !    2) Add a labelString or labelPixmap, idlCommand and/or hint.text
  108. !          resource to your .idlde file for the new button.
  109. !
  110. idlde*control*idlButtonsUser: printvar helpvar insight demo
  111. !
  112. idlde*control*user.printvar*labelString: Print Var
  113. idlde*control*user.printvar*labelPixmap: printvar
  114. idlde*control*user.printvar*idlCommand:  print,%S
  115. idlde*control*user.printvar*hint.text:   Print Selected Variable.
  116. idlde*control*user.printvar*tip.text:    Print Variable.
  117. !
  118. idlde*control*user.helpvar*labelString:  Help on Var
  119. idlde*control*user.helpvar*labelPixmap:  helpvar
  120. idlde*control*user.helpvar*idlCommand:   HELP,%S,/STRUCT
  121. idlde*control*user.helpvar*hint.text:    Help on Selected Variable.
  122. idlde*control*user.helpvar*tip.text:     Help on Variable.
  123. !
  124. idlde*control*user.insight*labelString:  Insight
  125. idlde*control*user.insight*labelPixmap:  insight
  126. idlde*control*user.insight*idlCommand:   Insight
  127. idlde*control*user.insight*hint.text:    Run Insight Application.
  128. idlde*control*user.insight*tip.text:     Run Insight.
  129. !
  130. idlde*control*user.demo*labelString:     IDL Demo
  131. idlde*control*user.demo*labelPixmap:     demo
  132. idlde*control*user.demo*idlCommand:      Demo
  133. idlde*control*user.demo*hint.text:       Run IDL Demo.
  134. idlde*control*user.demo*tip.text:        Run Demo.
  135. !!!
  136. !!! DO NOT ADD ANYTHING BELOW THIS LINE. IT WILL BE OVERWRITTEN.
  137. !!!
  138. idlde.x:            75
  139. idlde.y:            25
  140. idlde.width:            790
  141. idlde.height:            760
  142. idlde*hideView:            False
  143. idlde*hideControl:        False
  144. idlde*hideCommand:        False
  145. idlde*multiWindowEdit:        False
  146. idlde*readOnly:            False
  147. idlde*showSplashScreen:        True
  148. idlde*log*logLines:        500
  149. idlde*control*numColumns:    1
  150. idlde*control*packing:         XmPACK_TIGHT
  151. Idl.graphicsWindowWidth:    640
  152. Idl.graphicsWindowHeight:    512
  153. Idl.graphicsWindow14Screen:    True
  154. Idl.retain:            1
  155. idlde.saveOnExit:        True
  156.